package com.bw.day2task.mvp.content;

import com.bw.day2task.bean.BeanPhone;
import com.bw.day2task.bean.BeanUser;
import com.bw.day2task.bean.BeanUserlog;
import com.bw.day2task.bean.BeanVideo;
import com.bw.library.mvp.model.IModel;
import com.bw.library.mvp.view.IView;

import io.reactivex.Observer;

public interface LogContent {
    interface View extends IView{
        void ShowOk();
        String getname();
        String getpass();
        void getvideo(BeanVideo beanVideo);
    }
    interface Model extends IModel{
        void requestLog(String name,String pass,Observer<BeanUserlog> observer);
        void requestreg(String name,String pass,Observer<BeanUser> observer);
        void requesvideo(Observer<BeanPhone> observer);
        void requesvideo2(Observer<BeanVideo> observer);
    }
}
